const express = require('express')
const router = express.Router()

// 导入用户路由处理函数对应的模块
const users_handle = require('../router_handle/users')

router.get('/userList', users_handle.users)
router.post('/adduser', users_handle.adduser)
router.post('/edituser', users_handle.edituser)
router.get('/deluser/:id', users_handle.deluser)
router.get('/searchuser/:id', users_handle.searchuser)

module.exports = router